package com.hry.store.service.impl;

import com.hry.store.dao.TopCategoryMapper;
import com.hry.store.pojo.TopCategory;
import com.hry.store.service.TopCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TopCategoryServiceImpl implements TopCategoryService {
    @Autowired
    private TopCategoryMapper topCategoryMapper;
    @Override
    public List<TopCategory> selectAllTopCategory() {
        return topCategoryMapper.selectAllTopCategory();
    }
}
